package com.pureut.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.order.domain.ConverterManagement;
import com.pureut.order.dto.ConverterManagementDto;
import com.pureut.order.export.ConverterManagementExport;
import com.pureut.order.vo.ConverterManagementVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ConverterManagementMapper extends BaseMapper<ConverterManagement> {

    /**
     * 加工商列表
     */
    List<ConverterManagementDto> getConverterList(ConverterManagementVo converterManagementVo);

    /**
     * 获取加工商编号列表
     */
    List<ConverterManagementDto> getConverterNumMax();


    /**
     *加工商信息导出
     */
    List<ConverterManagementExport> getExportList(@Param("converterManagementVo") ConverterManagementVo converterManagementVo);

    /**
     * 根据多个id获取数据
     */
    List<ConverterManagementExport> getDataByIdStr(@Param("idList") List<String> idList);
}
